﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Objects.DataClasses;

namespace eGrocery.BaseDAL
{
    public abstract class BaseDA<T> where T:class
    {
        public BaseDA(){ }
        public abstract T SaveObject(string userName, T tObject);
        public abstract bool DeleteObject(string userName, T tObject);
        public abstract List<T> GetObjectList(string userName, DateTime fromDate, DateTime toDate);
        public abstract List<T> SearchObject(string userName, string SearchText);

    }
}
